#include <stdlib.h>

#include "help/util.h"

int main(int argc, char* argv[]) {
    if (argc < 3) {
        return 1;
    }

    unsigned user_id = (unsigned)atoi(argv[1]);
    unsigned unit_id = (unsigned)atoi(argv[2]);

    char* root = getenv("RELAT_ROOT");

    char user_name[64];
    char unit_name[64];
    get_user_name(root, user_id, user_name);
    get_unit_name(root, unit_id, unit_name);

    printf("%s/%s", user_name, unit_name);
}